<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page import="br.fatec.ads.model.Candidatura"%>
<%@page import="br.fatec.ads.model.Area"%>
<%@page import="br.fatec.ads.model.ProcessoSeletivo"%>
<%@page import="br.fatec.ads.model.Vaga"%>
<%@page import="br.fatec.ads.model.VagaPK"%>
<%@ page import="java.util.List" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/displaytag.css" /> 
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/telas.css" />
<title>Processos Seletivos Inscritos</title>
</head>
<%
	if(request.getSession(false).getAttribute("idUsuario") == null){
		request.getRequestDispatcher("login.jsp").forward(request, response);
		return;
	}

	ProcessoSeletivo processoSeletivoPesq = new ProcessoSeletivo();
	if(request.getSession(false).getAttribute("processoSeletivoPesq") != null){
		processoSeletivoPesq = (ProcessoSeletivo) request.getSession(false).getAttribute("processoSeletivoPesq");
	}
	
	Area areaPesq = new Area();
	if(request.getSession(false).getAttribute("areaPesq") != null){
		areaPesq = (Area) request.getSession(false).getAttribute("areaPesq");
	}

	Vaga vagaPesq = new Vaga();
	if(request.getSession(false).getAttribute("vagaPesq") != null){
		vagaPesq = (Vaga) request.getSession(false).getAttribute("vagaPesq");
	}
%>
<body>
	<jsp:include page="<%= request.getSession(false).getAttribute(\"menuSistema\").toString() %>" flush="false"/>
	<div class="formulario" style="position: absolute; left: 38px; top: 130px; width: 850px; height: 70px;">
		<label style="position: absolute; left: 300px; top: -20px;">Processos Seletivos Inscritos</label>
		<input type="button" class="button" name="btnVoltar" value="Voltar"
			style="position: absolute; left: 375px; top: 20px; width: 96px; height: 25px;" onclick="window.location='CandidaturaUsuarioCandidatar?novo=novo'">
		
		<div style="position: absolute; top: 75px; width: 850px;">
			<display:table id="row" name="sessionScope.listaCandidatura" pagesize="10" class="dataTable"
				decorator="br.fatec.ads.decorator.CandidaturaUsuarioDecorator">
				<display:setProperty name="paging.banner.placement" value="bottom"/>
				<display:column property="vaga.processoSeletivo.nomeProcessoSeletivo" title="Processo" style="width: 350px; text-align: center;"/>
				<display:column property="vaga.cargoVaga" title="Cargo" style="width: 300px; text-align: center;"/>
				<display:column property="vaga.processoSeletivo.dataProva" title="Prova" style="width: 160px; text-align: center;"/>
				<display:column property="linkCandidaturaProcessoConsultar" title="" style="width: 40px; text-align: center;"/>
			</display:table>
		</div>
	</div>
</body>
</html>